package com.java2007.pojo;

/**
 * 菜品实体类
 */
public class Food {

    private Integer foodId;
    private String foodName;
    private Integer typeId;
    private Long price;
    private Long vipPrice;
    private String image;
    private String foodDesc;
    private String typeName;

    public Food() {}

    public Food(String foodName, Integer typeId, Long price, Long vipPrice, String image, String foodDesc, String typeName) {
        this.foodName = foodName;
        this.typeId = typeId;
        this.price = price;
        this.vipPrice = vipPrice;
        this.image = image;
        this.foodDesc = foodDesc;
        this.typeName = typeName;
    }

    public Food(Integer foodId, String foodName, Integer typeId, Long price, Long vipPrice, String image, String foodDesc, String typeName) {
        this.foodId = foodId;
        this.foodName = foodName;
        this.typeId = typeId;
        this.price = price;
        this.vipPrice = vipPrice;
        this.image = image;
        this.foodDesc = foodDesc;
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "Food{" +
                "foodId=" + foodId +
                ", foodName='" + foodName + '\'' +
                ", typeId=" + typeId +
                ", price=" + price +
                ", vipPrice=" + vipPrice +
                ", image='" + image + '\'' +
                ", foodDesc='" + foodDesc + '\'' +
                ", typeName='" + typeName + '\'' +
                '}';
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(Long vipPrice) {
        this.vipPrice = vipPrice;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getFoodDesc() {
        return foodDesc;
    }

    public void setFoodDesc(String foodDesc) {
        this.foodDesc = foodDesc;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
